<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Revision
 *
 * @author carlos
 */
class Revision extends GestionDb
{
    //put your code here
    private $idRevision;
    private $idEmpleado;
    private $Rev_idRevision;
    private $numeroTramite;
    private $fechaEmitidaCorrecion;
    private $observaciones;
    private $fechaAprobacion;
    
    function __construct($idRevision, $idEmpleado, $Rev_idRevision, $numeroTramite, $fechaEmitidaCorrecion, $observaciones, $fechaAprobacion) {
        $this->idRevision = $idRevision;
        $this->idEmpleado = $idEmpleado;
        $this->Rev_idRevision = $Rev_idRevision;
        $this->numeroTramite = $numeroTramite;
        $this->fechaEmitidaCorrecion = $fechaEmitidaCorrecion;
        $this->observaciones = $observaciones;
        $this->fechaAprobacion = $fechaAprobacion;
    }

    protected function getDatos() {
        $datos[0][0] = "idRevision";          $datos[0][1] = $this->idRevision;
        $datos[1][0] = "idEmpleado";          $datos[1][1] = $this->idEmpleado;
        $datos[2][0] = "Rev_idRevision";          $datos[2][1] = $this->Rev_idRevision;
        $datos[3][0] = "numeroTramite";    $datos[3][1] = $this->numeroTramite;        
        $datos[4][0] = "fechaEmitidaCorrecion";    $datos[4][1] = $this->fechaEmitidaCorrecion;        
        $datos[5][0] = "observaciones";    $datos[5][1] = $this->observaciones;        
        $datos[6][0] = "fechaAprobacion";    $datos[6][1] = $this->fechaAprobacion;               
        
        return $datos;
    }

    protected function getTabla() {
        return "REVISION";
    }

}
